import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { PdfHandleComponent } from './pdf-handle.component';
import { UpdateJCComponent } from './update-jc/update-jc.component';
import { WaterMarkComponent } from './water-mark/water-mark.component';

const routes: Routes = [
  {
    path: '',
    component: PdfHandleComponent,
    children: [
      {
        path: 'waterMark',
        component: WaterMarkComponent,
      },
      {
        path: 'UpdateJC',
        component: UpdateJCComponent,
      },
    ],
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class PDFHandleRoutingModule {}
